// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:53:51

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   ic.java

package com.zelix;

import java.io.File;
import java.util.Comparator;

public class ic
    implements Comparator
{

    private static final ic a = new ic();

    private ic()
    {
    }

    public int compare(Object obj, Object obj1)
    {
        File file = (File)obj;
        String s = file.getName().toLowerCase();
        File file1 = (File)obj1;
        String s1 = file1.getName().toLowerCase();
        if(file.isDirectory())
            if(!file1.isDirectory())
                return -1;
            else
                return s.compareTo(s1);
        if(file1.isDirectory())
            return 1;
        else
            return s.compareTo(s1);
    }

    public static ic a()
    {
        return a;
    }

}